<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>045-子面量对象简洁语法.html</title>
</head>
<body>
	
</body>
<script type="text/javascript">
	

	





	const obj = {
		username,
		age,
		sayName:()=>{
			console.log('My name is'+this.username)
		},
		sayAge:()=>{
			console.log('I am'+this.age+'years old')
		}
	}
	console.log(obj)
	
	































</script>
</html>